package com.ruoyi.system.service.impl;

import java.util.List;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import com.ruoyi.system.mapper.ViewMapDataMapper;
import com.ruoyi.system.domain.ViewMapData;
import com.ruoyi.system.service.IViewMapDataService;

/**
 * VIEWService业务层处理
 * 
 * @author ruoyi
 * @date 2023-06-30
 */
@Service
public class ViewMapDataServiceImpl implements IViewMapDataService 
{
    @Autowired
    private ViewMapDataMapper viewMapDataMapper;

    /**
     * 查询VIEW
     * 
     * @param address VIEW主键
     * @return VIEW
     */
    @Override
    public ViewMapData selectViewMapDataByAddress(String address)
    {
        return viewMapDataMapper.selectViewMapDataByAddress(address);
    }

    /**
     * 查询VIEW列表
     * 
     * @param viewMapData VIEW
     * @return VIEW
     */
    @Override
    public List<ViewMapData> selectViewMapDataList(ViewMapData viewMapData)
    {
        return viewMapDataMapper.selectViewMapDataList(viewMapData);
    }

    /**
     * 新增VIEW
     * 
     * @param viewMapData VIEW
     * @return 结果
     */
    @Override
    public int insertViewMapData(ViewMapData viewMapData)
    {
        return viewMapDataMapper.insertViewMapData(viewMapData);
    }

    /**
     * 修改VIEW
     * 
     * @param viewMapData VIEW
     * @return 结果
     */
    @Override
    public int updateViewMapData(ViewMapData viewMapData)
    {
        return viewMapDataMapper.updateViewMapData(viewMapData);
    }

    /**
     * 批量删除VIEW
     * 
     * @param addresss 需要删除的VIEW主键
     * @return 结果
     */
    @Override
    public int deleteViewMapDataByAddresss(String[] addresss)
    {
        return viewMapDataMapper.deleteViewMapDataByAddresss(addresss);
    }

    /**
     * 删除VIEW信息
     * 
     * @param address VIEW主键
     * @return 结果
     */
    @Override
    public int deleteViewMapDataByAddress(String address)
    {
        return viewMapDataMapper.deleteViewMapDataByAddress(address);
    }

    @Override
    public List<ViewMapData> listParticulars(String IMEI) {
        return viewMapDataMapper.listParticulars(IMEI);
    }
}
